n=6; m=8; k=0; tube=[]; X=[4,3,6,3,3,3]; Y=[1,6,5,5,2,5];